#ifndef POWER_RESPONSE_H
#define POWER_RESPONSE_H


#pragma pack(1)

struct uart_common_response
{
    unsigned char start;
    unsigned char len;
    unsigned char cmd;
    unsigned char response_info;
    unsigned char check_sum;
    unsigned char end;

};

struct uart_parm_query_response
{
    unsigned char start;
    unsigned char len;
    unsigned char cmd;
    unsigned char power_state;
    unsigned short mo;
    unsigned char  mo_state;
    unsigned short fa1;
    unsigned char  fa1_state;
    unsigned short fa2;
    unsigned char  fa2_state;
    unsigned short fa3;
    unsigned char  fa3_state;
    unsigned short fa4;
    unsigned char  fa4_state;
    unsigned short fa5;
    unsigned char  fa5_state;
    unsigned short fa6;
    unsigned char  fa6_state;
    unsigned short fa7;
    unsigned char  fa7_state;
    unsigned short fa8;
    unsigned char  fa8_state;
    unsigned char   output_delay;
    unsigned char   rsvd_1[3];
    unsigned char   check_sum;
    unsigned char   end;
};



struct power_operating_parm
{
    unsigned char power_state;
    unsigned short mo;
    unsigned char  mo_state;
    unsigned short fa1;
    unsigned char  fa1_state;
    unsigned short fa2;
    unsigned char  fa2_state;
    unsigned short fa3;
    unsigned char  fa3_state;
    unsigned short fa4;
    unsigned char  fa4_state;
    unsigned short fa5;
    unsigned char  fa5_state;
    unsigned short fa6;
    unsigned char  fa6_state;
    unsigned short fa7;
    unsigned char  fa7_state;
    unsigned short fa8;
    unsigned char  fa8_state;
    unsigned char output_delay;
};



struct uart_ada_query_response
{
    unsigned char start;
    unsigned char len;
    unsigned char cmd;
    unsigned char power_state;
    unsigned short mo;

    unsigned short fa1;
    unsigned short fa2;
    unsigned short fa3;
    unsigned short fa4;
    unsigned short fa5;
    unsigned short fa6;
    unsigned short fa7;
    unsigned short fa8;
    unsigned char   output_delay;
    unsigned char   rsvd_1[3];
    unsigned char   check_sum;
    unsigned char   end;
};



#pragma pack()

#endif // POWER_RESPONSE_H
